package com.deshan.websys.code.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.deshan.websys.code.mapper.CorporationMapper;
import com.deshan.websys.code.model.Corporation;
import com.deshan.websys.code.model.vo.CorporationVO;
import com.deshan.websys.code.service.CorporationService;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service
@AllArgsConstructor
public class CorporationServiceImpl extends ServiceImpl<CorporationMapper, Corporation> implements CorporationService {

	private final CorporationMapper corporationMapper;
	
	@Override
	public CorporationVO getCorporationInfoByLegalCode(String legalCode) {
		
		return corporationMapper.getCorporationInfoByLegalCode(legalCode);		
	}

}
